package com.liruo.treasureattic.common.util.html.bookmark;

import com.liruo.treasureattic.common.util.html.bookmark.model.Folder;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:liruo
 * @Date:2023-02-08-04:30:34
 * @Desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ParseResult {
    private Folder rootFolder;
    private int folderSize = 0;
    private int urlSize = 0;

    public void addFolderSize(int folderSize) {
        this.folderSize+=folderSize;
    }

    public void addUrlSize(int urlSize) {
        this.urlSize+=urlSize;
    }
}
